<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>

<html lang="en">
<head>
<%@ include file="/common/common-css.jsp"%>

</head>
<body class="no-skin">
	<form name="queryForm" method="post">
	<div class="col-md-12">
		<a id="urlstr" target="_blank" href="#"></a>
	</div>
	<div class="col-md-12">
		
			<button class="btn  btn-danger no-border" name="btn-save" id="btn-save" style="margin-left:68px;">
				<i class="ace-icon fa fa-floppy-o bigger-160"></i> 确认
			</button>
		</div>
	</form>
		

<%@ include file="/common/common-js.jsp" %>
<script>
        function getQueryString(name) {
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
 			var r = window.location.search.substr(1).match(reg);
		if (r != null) return decodeURI(r[2]); return null;
 		}
            
			jQuery(function() {
				

				$("#btn-save").bind("click",function() {
					
					parent.parent['__extdialog_active'].dialog('close');								 
				});
			});

			 $(function(){
			 	var urlpara = getQueryString('url');
			 	urlpara = decodeURIComponent(urlpara);
				$("#urlstr").text(urlpara);
				$("#urlstr").attr('href',urlpara);
			 });

	</script>
</body>
</html>